<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: OrbitCommand Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">OrbitCommand Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="OrbitCommand" --><!-- doxytag: inherits="CommandBase" -->
<p><code>#include &lt;<a class="el" href="orbitcommand_8h_source.html">orbitcommand.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OrbitCommand:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_orbit_command.png" usemap="#OrbitCommand_map" alt=""/>
  <map id="OrbitCommand_map" name="OrbitCommand_map">
<area href="class_command_base.html" alt="CommandBase" shape="rect" coords="0,56,95,80"/>
<area href="class_i_command.html" alt="ICommand" shape="rect" coords="0,0,95,24"/>
</map>
 </div></div>

<p><a href="class_orbit_command-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_orbit_command_1_1_impl.html">Impl</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#a62e3a92004922685089673f8d04dd29b">OrbitCommand</a> (<a class="el" href="class_i_command.html">ICommand</a> *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#aedeae26937aa687eceeff87cbfa88cbc">OrbitCommand</a> (const <a class="el" href="class_orbit_command.html">OrbitCommand</a> &amp;cpy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_i_command.html">ICommand</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#a910840622af09d484161e7a38ecef466">clone</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#a23a4050829cadde6dc20665b97d378c1">getOptionsWidget</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#af23cc6be926cde82f09a00d8bb9de21d">mousePressEvent</a> (QMouseEvent *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#a4683100c01ff7d5a3a40f753ae971396">mouseReleaseEvent</a> (QMouseEvent *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#aafdc20d87346eb36cb24a5f2e4e378fa">mouseMoveEvent</a> (QMouseEvent *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_orbit_command.html#afcec099b373a60406fe93b2b392c1572">paintGL</a> (<a class="el" href="class_gl_canvas.html">GlCanvas</a> *c)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Command to move around the view.</p>
<p>Note: Should this be a capability of GLCanvas instead of a command? </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a62e3a92004922685089673f8d04dd29b"></a><!-- doxytag: member="OrbitCommand::OrbitCommand" ref="a62e3a92004922685089673f8d04dd29b" args="(ICommand *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OrbitCommand::OrbitCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_command.html">ICommand</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor for commands. </p>

</div>
</div>
<a class="anchor" id="aedeae26937aa687eceeff87cbfa88cbc"></a><!-- doxytag: member="OrbitCommand::OrbitCommand" ref="aedeae26937aa687eceeff87cbfa88cbc" args="(const OrbitCommand &amp;cpy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OrbitCommand::OrbitCommand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_orbit_command.html">OrbitCommand</a> &amp;&#160;</td>
          <td class="paramname"><em>cpy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Copy constructor. Makes a copy of the command. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a910840622af09d484161e7a38ecef466"></a><!-- doxytag: member="OrbitCommand::clone" ref="a910840622af09d484161e7a38ecef466" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_command.html">ICommand</a> * OrbitCommand::clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Makes a deep copy of the command. </p>

<p>Implements <a class="el" href="class_i_command.html#afde1282c74d8117bab3b3f4570e96d0a">ICommand</a>.</p>

</div>
</div>
<a class="anchor" id="a23a4050829cadde6dc20665b97d378c1"></a><!-- doxytag: member="OrbitCommand::getOptionsWidget" ref="a23a4050829cadde6dc20665b97d378c1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * OrbitCommand::getOptionsWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method returns the options or configuration widget of the command. The widget returned should contain all the controls necesary to allow the user to change configuration parameters of the command. </p>

<p>Implements <a class="el" href="class_i_command.html#ab026706ccf51db06785f61c489b564d1">ICommand</a>.</p>

</div>
</div>
<a class="anchor" id="aafdc20d87346eb36cb24a5f2e4e378fa"></a><!-- doxytag: member="OrbitCommand::mouseMoveEvent" ref="aafdc20d87346eb36cb24a5f2e4e378fa" args="(QMouseEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OrbitCommand::mouseMoveEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called when a mouse move event ocurrs. This method is called by the widget (a QGLWidget). </p>

<p>Reimplemented from <a class="el" href="class_command_base.html#a7e24718e3ccb53e6c965def4f4c92bbb">CommandBase</a>.</p>

</div>
</div>
<a class="anchor" id="af23cc6be926cde82f09a00d8bb9de21d"></a><!-- doxytag: member="OrbitCommand::mousePressEvent" ref="af23cc6be926cde82f09a00d8bb9de21d" args="(QMouseEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OrbitCommand::mousePressEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called when a mouse press event ocurrs. This method is called by the widget (a QGLWidget). </p>

<p>Reimplemented from <a class="el" href="class_command_base.html#afb621f4aa1c509230093b761cb367889">CommandBase</a>.</p>

</div>
</div>
<a class="anchor" id="a4683100c01ff7d5a3a40f753ae971396"></a><!-- doxytag: member="OrbitCommand::mouseReleaseEvent" ref="a4683100c01ff7d5a3a40f753ae971396" args="(QMouseEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OrbitCommand::mouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called when a mouse release event ocurrs. This method is called by the widget (a QGLWidget). </p>

<p>Reimplemented from <a class="el" href="class_command_base.html#abb2bbbc05a3c3eaf6b9e0c655883a9b3">CommandBase</a>.</p>

</div>
</div>
<a class="anchor" id="afcec099b373a60406fe93b2b392c1572"></a><!-- doxytag: member="OrbitCommand::paintGL" ref="afcec099b373a60406fe93b2b392c1572" args="(GlCanvas *c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OrbitCommand::paintGL </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_gl_canvas.html">GlCanvas</a> *&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Used to display anything specific to the command as user feedback. </p>

<p>Reimplemented from <a class="el" href="class_command_base.html#a26189259f723383fc5784d4187a69e09">CommandBase</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>qsculpt/include/command/<a class="el" href="orbitcommand_8h_source.html">orbitcommand.h</a></li>
<li>qsculpt/src/command/orbitcommand.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 27 2011 15:38:53 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
